<template>
	<view class="pay">
		<view class="uni-popup bottom">
			<view >
				<view style="opacity: 1; position: fixed; inset: 0px; background-color: rgba(0, 0, 0, 0.4); transition: opacity 300ms, -webkit-transform 300ms, transform 300ms; transform-origin: 50% 50%;">
					
				</view>
				<view style="transform: translateY(0px); opacity: 1; position: fixed; left: 0px; right: 0px; bottom: 0px; padding-bottom: 0px; background-color: transparent; transition: -webkit-transform 300ms, transform 300ms; transform-origin: 50% 50%;">
					<view class="uni-popup__wrapper bottom" style="background-color: transparent;">
						<view class="pay-menu-wrap">
							<view class="menu-title">
								<view style="padding: 0px 15px;">
									<u-icon name="close"></u-icon>
								</view>
								<view>
									支付
								</view>
								<view>
									
								</view>
							</view>
							<view class="menu-item">
								<view class="menu-item-l">
									账户余额:
								</view>
								<view class="menu-item-r red-font">
									0元
								</view>
							</view>
							<view class="menu-item">
								<view class="menu-item-l">
									大乐透:
								</view>
								<view class="menu-item-r red-font">
									0元
								</view>
							</view>
							<view class="menu-item">
								<view class="menu-item-l">
									红包抵扣:
								</view>
								<view class="menu-item-r">
									暂无红包
								</view>
							</view>
							<view class="menu-item">
								<view class="menu-item-l">
									余额抵扣:
								</view>
								<view class="menu-item-r red-font">
									0元
								</view>
							</view>
							<view class="menu-item-stake">
								<view class="stake-btn">
									 确认投注 
								</view>
								<view class="stake-note">
									<view >
										<checkbox value="cb" checked="true" />
									</view>
									<view class="red-font">
										我已年满18岁
									</view>
									<view >
										,已阅读并同意
									</view>
									<view class="red-font">
										《用户协议及法律声明》
									</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"pay",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.pay{
		font-size: 26rpx;
		.uni-popup {
		    position: fixed;
		    z-index: 99;
			.uni-popup__wrapper {
			    display: block;
			    position: relative;
			}
		}
		.red-font{
		    color: #ff4646;
		}
		.pay-menu-wrap {
		    position: absolute;
		    bottom: 0px;
		    width: 100%;
		    margin-right: 18rpx;
		    background-color: #fff;
			.menu-title {
			    border-top: 1px solid #eee;
			    font-size: 1.2em;
			    text-align: center;
			    border-top: none;
			    line-height: 1.8em;
			    display: flex;
			    flex-direction: row;
			    justify-content: space-between;
			}
			.menu-item{
			    padding: 18rpx;
			    border-top: 1px solid #eee;
			    font-size: .9em;
			    display: flex;
			    flex-direction: row;
			    position: relative;
				.menu-item-r {
				    position: absolute;
				    right: 10rpx;
				    padding-right: 10rpx;
				}
			}
		}
		
		.menu-item-stake {
		    display: flex;
		    flex-direction: column;
		    border-top: 2rpx solid #eee;
		    padding: 18rpx 0;
			.stake-btn {
			    height: 72rpx;
			    width: 50%;
			    line-height: 72rpx;
			    font-size: 1.3em;
			    color: #fff;
			    text-align: center;
			    border-radius: 10rpx;
			    background-color: #ff4646;
			    align-self: center;
			}
			.stake-note {
			    display: flex;
			    flex-direction: row;
			    justify-content: center;
			    font-size: .8em;
			    padding-top: 10rpx;
			    align-items: center;
			}
		}
	}
</style>